# -*- coding: utf-8 -*-
import httplib2,re
p = re.compile(ur"\u5730\u533A</label>\r\n(.*)</li>")
tel = re.compile(r"<a href=\"tel.*\">(.*)</a>")
http =httplib2.Http()
header = {"User-Agent":"Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31"}
r,c = http.request('http://longquan.m.tmall.com/shop/shop_info.htm', 'GET',headers=header)
c = c.decode('utf-8')
rs = tel.search(c)
print rs.group(1).strip()


